﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddIBInformations.aspx.cs"
    Inherits="secure_zk_PGB_Assignment_AddIB_AddIBInformations" EnableTheming="true"
    Theme="BlueTheme" %>

<%@ Reference Control="~/secure/zk/PGB/Assignment/AddIB/FunctionInputs.ascx" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc2" %>
<%@ Register Assembly="Infragistics2.WebUI.WebDateChooser.v7.1, Version=7.1.20071.40, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
    Namespace="Infragistics.WebUI.WebSchedule" TagPrefix="igsch" %>
<%@ Register Assembly="EISharedComponents" Namespace="tba.azr.EISharedComponents"
    TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>IB Toevoegen</title>
    <style type="text/css">
        .step3Control
        {
            width: 310px;
        }
        .step4Control
        {
            width: 220px;
        }
        .modalProgressBackground
        {
            position: absolute;
            left: 0px;
            top: 0px;
            width: 100%;
            height: 100%;
            text-align: center;
            z-index: 1000;
            background-color: Black;
            filter: alpha(opacity=20);
            opacity: .20;
        }
    </style>
    <script type="text/javascript">
        function discontrol(itemid) {
            if (document.getElementById(itemid).style.display == 'none') {
                document.getElementById(itemid).style.display = "";
            }
            else {
                document.getElementById(itemid).style.display = "none";
            }
        }
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="asm" runat="server">
        </asp:ScriptManager>
        <div id="title" class="aaHeaddiv">
            Gegevens cliënt and indicatiebesluit toevoegen</div>
        <!-- Step 2 (Client basic informations and address) -->
        <asp:Panel ID="Panel_Step2" runat="server">
            <!-- Client informations details (including address) -->
            <div id="clientInfo_div_details" style="padding: 10px">
                <fieldset id="clientInfo_fieldset_description" style="width: 60%">
                    <legend><font class="linkStandaardGroen"><strong>Stap 2 van 4</strong></font></legend>
                    <table>
                        <tr id="TRBSN" runat="server">
                            <td>
                            </td>
                            <td style="text-align: center">
                                BSN
                            </td>
                            <td>
                                <cc1:EIformcontrol2 ID="BSN" runat="server" AlternatievePatroon="^[0-9]*$" HelpPlaatje="../../../img/help_small.jpg"
                                    Regel="02" TypeBericht="AW33" VeldCode="NUM312_GBA" VersieBericht="21" WidthInputcontrol="400"
                                    Enabled="False" />
                            </td>
                        </tr>
                        <tr id="TRClientType" runat="server">
                            <td>
                            </td>
                            <td style="text-align: center">
                                Cliënt Type
                            </td>
                            <td>
                                &nbsp;<asp:DropDownList ID="ddl_ClientType" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddl_ClientType_SelectedIndexChanged">
                                    <asp:ListItem Text="[Neen]" Value="0" Selected="True"></asp:ListItem>
                                    <asp:ListItem Text="BJZ Cliënt" Value="1"></asp:ListItem>
                                    <asp:ListItem Text="CIZ Cliënt" Value="2"></asp:ListItem>
                                </asp:DropDownList>
                                <asp:RangeValidator ID="RV_ClientType" runat="server" ErrorMessage="Dit is een verplicht veld"
                                    ControlToValidate="ddl_ClientType" MinimumValue="1" MaximumValue="2"></asp:RangeValidator>
                            </td>
                        </tr>
                        <tr id="TRNaam1" runat="server">
                            <td>
                            </td>
                            <td style="text-align: center">
                                Geboortenaam
                            </td>
                            <td>
                                <cc1:EIformcontrol2 ID="Naam1" runat="server" TypeBericht="AW33" VersieBericht="21"
                                    HelpPlaatje="../../../img/help_small.jpg" Regel="02" VeldCode="NAM195_NEN" WidthInputcontrol="400">
                                </cc1:EIformcontrol2>
                            </td>
                        </tr>
                        <tr id="TRVoorvoegsel1" runat="server">
                            <td>
                            </td>
                            <td style="text-align: center">
                                Voorvoegsel
                            </td>
                            <td>
                                <cc1:EIformcontrol2 ID="Voorvoegsel1" runat="server" TypeBericht="AW33" VersieBericht="21"
                                    HelpPlaatje="../../../img/help_small.jpg" Regel="02" VeldCode="NAM197_NEN" WidthInputcontrol="400">
                                </cc1:EIformcontrol2>
                            </td>
                        </tr>
                        <tr id="TRVoorletters1" runat="server">
                            <td>
                            </td>
                            <td style="text-align: center">
                                Voorletters
                            </td>
                            <td>
                                <cc1:EIformcontrol2 ID="Voorletters" runat="server" HelpPlaatje="../../../img/help_small.jpg"
                                    Regel="02" TypeBericht="AW33" VeldCode="NAM104_NEN" VersieBericht="21" WidthInputcontrol="50" />
                            </td>
                        </tr>
                        <tr id="TRNaamcode1" runat="server">
                            <td>
                            </td>
                            <td style="text-align: center">
                                Voorkeursnaam
                            </td>
                            <td>
                                <cc1:EIformcontrol2 ID="Naamcode1" Enabled="true" runat="server" AlternatieveCodelijst=""
                                    TypeBericht="AW33" VersieBericht="21" HelpPlaatje="../../../img/help_small.jpg"
                                    Regel="02" VeldCode="COD700_NEN" WidthInputcontrol="400"></cc1:EIformcontrol2>
                            </td>
                        </tr>
                        <tr id="TRNaam2" runat="server">
                            <td>
                            </td>
                            <td style="text-align: center">
                                Naam partner
                            </td>
                            <td>
                                <cc1:EIformcontrol2 ID="Naam2" runat="server" TypeBericht="AW33" VersieBericht="21"
                                    HelpPlaatje="../../../img/help_small.jpg" Regel="02" VeldCode="NAM196_NEN" WidthInputcontrol="400">
                                </cc1:EIformcontrol2>
                            </td>
                        </tr>
                        <tr id="TRVoorvoegsel2" runat="server">
                            <td>
                            </td>
                            <td style="text-align: center">
                                Voorvoegsel partner
                            </td>
                            <td>
                                <cc1:EIformcontrol2 ID="Voorvoegsel2" runat="server" TypeBericht="AW33" VersieBericht="21"
                                    HelpPlaatje="../../../img/help_small.jpg" Regel="02" VeldCode="NAM198_NEN" WidthInputcontrol="400">
                                </cc1:EIformcontrol2>
                            </td>
                        </tr>
                        <tr id="TRNaamcode2" runat="server">
                            <td>
                            </td>
                            <td style="text-align: center">
                                Voorkeursnaam partner
                            </td>
                            <td>
                                <cc1:EIformcontrol2 ID="Naamcode2" HorizontaalUitlijnen="false" runat="server" TypeBericht="AW33"
                                    VersieBericht="21" HelpPlaatje="../../../img/help_small.jpg" Regel="02" VeldCode="COD701_NEN"
                                    WidthInputcontrol="400"></cc1:EIformcontrol2>
                            </td>
                        </tr>
                        <tr id="TRNaamcode3" runat="server">
                            <td>
                            </td>
                            <td style="text-align: center">
                                Naamgebruik
                            </td>
                            <td>
                                <cc1:EIformcontrol2 ID="Naamcode3" HorizontaalUitlijnen="false" runat="server" TypeBericht="AW33"
                                    VersieBericht="21" HelpPlaatje="../../../img/help_small.jpg" Regel="02" VeldCode="COD829_NEN"
                                    WidthInputcontrol="400"></cc1:EIformcontrol2>
                            </td>
                        </tr>
                        <tr id="TRGeslacht" runat="server">
                            <td>
                            </td>
                            <td style="text-align: center">
                                Geslacht
                            </td>
                            <td>
                                <cc1:EIformcontrol2 ID="Geslacht" runat="server" HelpPlaatje="../../../img/help_small.jpg"
                                    HorizontaalUitlijnen="false" Regel="02" TypeBericht="AW33" VeldCode="COD365_NEN"
                                    VersieBericht="21" WidthInputcontrol="400" />
                            </td>
                        </tr>
                        <tr id="TRGeboortedatum" runat="server">
                            <td>
                            </td>
                            <td style="text-align: center">
                                Geboortedatum
                            </td>
                            <td>
                                <cc1:EIformcontrol2 ID="Geboortedatum" runat="server" TypeBericht="AW33" VersieBericht="21"
                                    HelpPlaatje="../../../img/help_small.jpg" Regel="02" VeldCode="DAT162_NEN"></cc1:EIformcontrol2>
                            </td>
                        </tr>
                        <tr id="TRBurgerlijkestaat" runat="server">
                            <td>
                            </td>
                            <td style="text-align: center">
                                Burgelijke staat
                            </td>
                            <td>
                                <cc1:EIformcontrol2 ID="Burgerlijkestaat" runat="server" TypeBericht="AW33" VersieBericht="21"
                                    HelpPlaatje="../../../img/help_small.jpg" Regel="02" VeldCode="COD366_NEN" WidthInputcontrol="400">
                                </cc1:EIformcontrol2>
                            </td>
                        </tr>
                        <tr id="TRVerzekerdenummer" runat="server">
                            <td>
                            </td>
                            <td style="text-align: center">
                                Verzekerdenummer
                            </td>
                            <td>
                                <cc1:EIformcontrol2 ID="Verzekerdenummer" runat="server" TypeBericht="AW33" VersieBericht="21"
                                    HelpPlaatje="../../../img/help_small.jpg" Regel="02" VeldCode="NUM003_ZNET" WidthInputcontrol="400">
                                </cc1:EIformcontrol2>
                            </td>
                        </tr>
                        <tr id="TRLeefeenheid" runat="server">
                            <td colspan="2" style="text-align: center">
                                Leefeenheid
                            </td>
                            <td>
                                <cc1:EIformcontrol2 ID="Leefeenheid" runat="server" TypeBericht="AW33" VersieBericht="21"
                                    HelpPlaatje="../../../img/help_small.jpg" Regel="02" VeldCode="COD478_VEK2" WidthInputcontrol="400">
                                </cc1:EIformcontrol2>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:HiddenField ID="HF_AddressID" runat="server" />
                            </td>
                            <td>
                                <strong><a>Adresgegevens</a></strong>
                            </td>
                        </tr>
                        <tr id="addressType" runat="server">
                            <td>
                            </td>
                            <td style="text-align: center">
                                Soort adres
                            </td>
                            <td>
                                <cc1:EIformcontrol2 ID="soortadres" runat="server" HelpPlaatje="../../../img/help_small.jpg"
                                    Regel="05" TypeBericht="AW39" VeldCode="COD757_VEKT" WidthInputcontrol="300" />
                            </td>
                        </tr>
                        <tr id="houseNumber" runat="server">
                            <td>
                            </td>
                            <td style="text-align: center">
                                Huisnummer
                            </td>
                            <td>
                                <cc1:EIformcontrol2 ID="huisnummer" runat="server" AlternatievePatroon="^[0-9]*$"
                                    CustomerRequiredFieldValidated="true" HelpPlaatje="../../../img/help_small.jpg"
                                    Regel="05" TypeBericht="AW39" VeldCode="NUM025_NEN1" />
                                <asp:Literal ID="ltl_huisnummer_error" runat="server"></asp:Literal>
                            </td>
                        </tr>
                        <tr id="houseNumberAddition" runat="server">
                            <td>
                            </td>
                            <td style="text-align: center">
                                Huisnummertoevoeging
                            </td>
                            <td>
                                <cc1:EIformcontrol2 ID="huisnummertoevoeging" runat="server" HelpPlaatje="../../../img/help_small.jpg"
                                    Regel="05" TypeBericht="AW39" VeldCode="NUM041_NEN1" />
                            </td>
                        </tr>
                        <tr id="postCodeInternational" runat="server">
                            <td>
                            </td>
                            <td style="text-align: center">
                                Postcode (inter)nationaal
                            </td>
                            <td>
                                <cc1:EIformcontrol2 ID="postcode" runat="server" HelpPlaatje="../../../img/help_small.jpg"
                                    Regel="05" TypeBericht="AW39" VeldCode="COD928_VEKT" CustomerRequiredFieldValidated="true" />
                                <asp:Literal ID="ltl_postcode_error" runat="server"></asp:Literal>
                            </td>
                        </tr>
                        <tr id="street" runat="server">
                            <td>
                            </td>
                            <td style="text-align: center">
                                Straatnaam
                            </td>
                            <td>
                                <cc1:EIformcontrol2 ID="straatnaam" runat="server" HelpPlaatje="../../../img/help_small.jpg"
                                    Regel="05" TypeBericht="AW39" VeldCode="NAM018_NEN1" CustomerRequiredFieldValidated="true" />
                                <asp:Literal ID="ltl_straatnaam_error" runat="server"></asp:Literal>
                            </td>
                        </tr>
                        <tr id="location" runat="server">
                            <td>
                            </td>
                            <td style="text-align: center">
                                Woonplaats
                            </td>
                            <td>
                                <cc1:EIformcontrol2 ID="woonplaats" runat="server" HelpPlaatje="../../../img/help_small.jpg"
                                    Regel="05" TypeBericht="AW39" VeldCode="NAM006_NEN1" CustomerRequiredFieldValidated="true" />
                                <asp:Literal ID="ltl_woonplaats_error" runat="server"></asp:Literal>
                            </td>
                        </tr>
                        <tr id="country" runat="server">
                            <td>
                            </td>
                            <td style="text-align: center">
                                Land
                            </td>
                            <td>
                                <cc1:EIformcontrol2 ID="codeland" runat="server" HelpPlaatje="../../../img/help_small.jpg"
                                    Regel="05" TypeBericht="AW39" VeldCode="COD032_NEN" VersieBericht="22" />
                            </td>
                        </tr>
                        <tr id="telephone" runat="server">
                            <td>
                            </td>
                            <td style="text-align: center">
                                Telefoonnummer 1
                            </td>
                            <td>
                                <cc1:EIformcontrol2 ID="telefoonnummer1" runat="server" HelpPlaatje="../../../img/help_small.jpg"
                                    Regel="05" TypeBericht="AW39" VeldCode="NUM302_NEN1" />
                            </td>
                        </tr>
                    </table>
                </fieldset>
            </div>
            <!-- End -->
            <!-- Client info buttons -->
            <div id="clientInfo_div_buttons" style="padding: 30px">
                <table>
                    <tr>
                        <td style="width: 60%">
                            <asp:Button ID="clientInfo_btn_Cancel" runat="server" Text="Annuleren" CausesValidation="false"
                                OnClick="clientInfo_btn_Cancel_Click" />
                        </td>
                        <td style="width: 20%">
                            <asp:Button ID="clientInfo_btn_Previous" runat="server" Text="<< Vorige" CausesValidation="false"
                                OnClick="clientInfo_btn_Previous_Click" />
                        </td>
                        <td style="width: 20%">
                            <asp:Button ID="clientInfo_btn_Next" runat="server" Text="Volgende >>" OnClick="clientInfo_btn_Next_Click" />
                        </td>
                    </tr>
                </table>
            </div>
            <!-- End -->
        </asp:Panel>
        <!-- End -->
        <!-- Step 3 (Indication [Indicatie besluit] basic informations) -->
        <asp:Panel ID="Panel_Step3" runat="server" Visible="false">
            <asp:UpdatePanel ID="updp_Step3" runat="server">
                <ContentTemplate>
                    <asp:UpdateProgress ID="upl_Step3" runat="server" DisplayAfter="500">
                        <ProgressTemplate>
                            <div class="modalProgressBackground">
                            </div>
                            <div style="position: absolute; left: 0px; top: 0px; width: 100%; height: 100%; text-align: center;
                                z-index: 1000; background-color: Transparent">
                                <div style="width: 300px; margin: 100px auto; border: 1px solid Black; padding: 15px;
                                    background-color: White; text-align: center">
                                    <p>
                                        Bezig met laden ...</p>
                                    <br />
                                    <img alt="" src="../../../img/ajax-loader.gif" />
                                </div>
                            </div>
                        </ProgressTemplate>
                    </asp:UpdateProgress>
                    <div id="indication_div_details" style="padding: 10px">
                        <fieldset id="indication_fieldset_description" style="width: 75%">
                            <legend><font class="linkStandaardGroen"><strong>Stap 3 van 4</strong></font></legend>
                            <table class="ibtable">
                                <tr>
                                    <td class="ibnametd">
                                        BSN
                                    </td>
                                    <td class="ibvaluetd">
                                        <asp:TextBox ID="txt_BSN" runat="server" Enabled="false"></asp:TextBox>
                                    </td>
                                    <td>
                                    </td>
                                    <td class="ibnametd">
                                        <label id="lbl_OfficeList" runat="server">
                                        </label>
                                    </td>
                                    <td class="ibvaluetd">
                                        <asp:DropDownList ID="ddl_Office" runat="server" CssClass="step3Control">
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        Besluitnummer
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddl_besluitnummer" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddl_besluitnummer_SelectedIndexChanged">
                                        </asp:DropDownList>
                                        <asp:TextBox ID="txt_besluitnummer" runat="server" MaxLength="9"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RFV_Besluitnummer" Display="Dynamic" runat="server"
                                            ValidationGroup="mainIB" ControlToValidate="txt_besluitnummer" ErrorMessage="Besluitnummer is verplicht"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="REV_Besluitnummer" Display="Dynamic" runat="server"
                                            ValidationGroup="mainIB" ControlToValidate="txt_besluitnummer" ErrorMessage="Dit is een numeriek veld. "
                                            ValidationExpression="^[1-9]\d*$"></asp:RegularExpressionValidator>
                                    </td>
                                    <td>
                                    </td>
                                    <td>
                                        <label id="lbl_Aanvraagnummer" runat="server">
                                            Aanvraagnummer</label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_Aanvraagnummer" runat="server" MaxLength="9"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RFV_Aanvraagnummer" runat="server" ValidationGroup="mainIB"
                                            ControlToValidate="txt_Aanvraagnummer" ErrorMessage="Aanvraagnummer is verplicht"
                                            Display="Dynamic"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="REV_Aanvraagnummer" Display="Dynamic" runat="server"
                                            ValidationGroup="mainIB" ControlToValidate="txt_Aanvraagnummer" ErrorMessage="Dit is een numeriek veld. "
                                            ValidationExpression="^[1-9]\d*$"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="ibnametd">
                                        Datum ontvangst
                                    </td>
                                    <td>
                                        <igsch:WebDateChooser ID="WDC_ReceiveDate" runat="server" EnableAppStyling="True"
                                            NullDateLabel="" NullValueRepresentation="Null" StyleSetName="ElectricBlue"
                                            CalendarLayout-DropDownYearsNumber="300">
                                        </igsch:WebDateChooser>
                                        <asp:RequiredFieldValidator ID="RFV_ReceiveDate" runat="server" ControlToValidate="WDC_ReceiveDate"
                                            ValidationGroup="mainIB" Display="Dynamic" ErrorMessage="Onvangst datum is verplicht"></asp:RequiredFieldValidator>
                                    </td>
                                    <td>
                                    </td>
                                    <td>
                                        Datum afgifte
                                    </td>
                                    <td>
                                        <igsch:WebDateChooser ID="WDC_IndicationDate" runat="server" EnableAppStyling="True"
                                            NullDateLabel="" NullValueRepresentation="Null" StyleSetName="ElectricBlue"
                                            CalendarLayout-DropDownYearsNumber="300">
                                        </igsch:WebDateChooser>
                                        <asp:RequiredFieldValidator ID="RFV_IndicationDate" runat="server" ControlToValidate="WDC_IndicationDate"
                                            ValidationGroup="mainIB" Display="Dynamic" ErrorMessage="Datum afgifte is verplicht"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        Datum ingang
                                    </td>
                                    <td>
                                        <igsch:WebDateChooser ID="WDC_StartDate" runat="server" EnableAppStyling="True" NullDateLabel="" MinDate="2008-01-01 00:00:00"
                                            NullValueRepresentation="Null" StyleSetName="ElectricBlue" OnValueChanged="WDC_StartDate_ValueChanged"
                                            CalendarLayout-DropDownYearsNumber="300">
                                        </igsch:WebDateChooser>
                                        <asp:RequiredFieldValidator ID="RFV_indiStartDate" runat="server" ControlToValidate="WDC_StartDate"
                                            ValidationGroup="mainIB" Display="Dynamic" ErrorMessage="Ingangsdatum is verplicht"></asp:RequiredFieldValidator>
                                    </td>
                                    <td style="width: 16px;">
                                    </td>
                                    <td>
                                        Datum einde
                                    </td>
                                    <td>
                                        <igsch:WebDateChooser ID="WDC_EndDate" runat="server" EnableAppStyling="True" NullDateLabel="" MinDate="2008-01-01 00:00:00"
                                            NullValueRepresentation="Null" StyleSetName="ElectricBlue" OnValueChanged="WDC_EndDate_ValueChanged"
                                            CalendarLayout-DropDownYearsNumber="300">
                                        </igsch:WebDateChooser>
                                        <asp:RequiredFieldValidator ID="RFV_indiEndDate" runat="server" ControlToValidate="WDC_EndDate"
                                            ValidationGroup="mainIB" Display="Dynamic" ErrorMessage="Einddatum is verplicht"></asp:RequiredFieldValidator>
                                        <asp:CompareValidator ID="CV_IndicationDate" runat="server" ControlToCompare="WDC_StartDate"
                                            ControlToValidate="WDC_EndDate" Display="Dynamic" ErrorMessage="De einddatum mag niet voor de begindatum liggen"
                                            ValidationGroup="mainIB" Operator="GreaterThanEqual" Type="Date"></asp:CompareValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        1e grondslag
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddl_1grondslag" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddl_1grondslag_SelectedIndexChanged"
                                            CssClass="step3Control">
                                        </asp:DropDownList>
                                    </td>
                                    <td style="width: 16px;">
                                    </td>
                                    <td>
                                        2e grondslag
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddl_2grondslag" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddl_2grondslag_SelectedIndexChanged"
                                            CssClass="step3Control">
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        1e ZZP code
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddl_zzpCode" runat="server" AutoPostBack="true" AppendDataBoundItems="true"
                                            OnSelectedIndexChanged="ddl_zzpCode_SelectedIndexChanged" CssClass="step3Control">
                                            <asp:ListItem Text="[Geen]" Value="-1" Selected="true"></asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                    <td style="width: 16px;">
                                    </td>
                                    <td>
                                        Volgtijdelijk?
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="chk_AdditionalZZPs" runat="server" AutoPostBack="true" ValidationGroup="mainIB"
                                            OnCheckedChanged="chk_AdditionalZZPs_CheckedChanged" CausesValidation="true" />
                                    </td>
                                </tr>
                                <tr id="tr_1stZZPDates" runat="server">
                                    <td>
                                        Datum ingang
                                    </td>
                                    <td>
                                        <asp:Literal ID="ltl_1stZZPStartDate" runat="server"></asp:Literal>
                                    </td>
                                    <td style="width: 16px;">
                                    </td>
                                    <td>
                                        Datum einde
                                    </td>
                                    <td>
                                        <igsch:WebDateChooser ID="WDC_1stZZPEndDate" runat="server" EnableAppStyling="True" CalendarLayout-DropDownYearsNumber="300"
                                            NullDateLabel="" NullValueRepresentation="Null" StyleSetName="ElectricBlue" OnValueChanged="WDC_1stZZPEndDate_ValueChanged">
                                            <AutoPostBack ValueChanged="True" />
                                        </igsch:WebDateChooser>
                                        <asp:RequiredFieldValidator ID="RFV_1stZZPEndDate" runat="server" ControlToValidate="WDC_1stZZPEndDate"
                                            Display="Dynamic" ErrorMessage="Einde datum is verplicht" ValidationGroup="mainIB"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr id="tr_2ndZZP" runat="server">
                                    <td>
                                        2e ZZP code
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddl_2ndZZPCode" runat="server" AutoPostBack="true" AppendDataBoundItems="true"
                                            OnSelectedIndexChanged="ddl_2ndZZPCode_SelectedIndexChanged" CssClass="step3Control">
                                            <asp:ListItem Text="[Geen]" Value="-1" Selected="true"></asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                    <td style="width: 16px;">
                                    </td>
                                    <td>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr id="tr_2ndZZPDates" runat="server">
                                    <td>
                                        Datum ingang
                                    </td>
                                    <td>
                                        <igsch:WebDateChooser ID="WDC_2ndZZPStartCode" runat="server" EnableAppStyling="True" CalendarLayout-DropDownYearsNumber="300"
                                            NullDateLabel="" NullValueRepresentation="Null" StyleSetName="ElectricBlue" OnValueChanged="WDC_2ndZZPStartCode_ValueChanged">
                                            <AutoPostBack ValueChanged="True" />
                                        </igsch:WebDateChooser>
                                        <asp:RequiredFieldValidator ID="RFV_2ndZZPStartCode" runat="server" ControlToValidate="WDC_2ndZZPStartCode"
                                            Display="Dynamic" ErrorMessage="Ingangsdatum is verplicht" ValidationGroup="mainIB"></asp:RequiredFieldValidator>
                                    </td>
                                    <td style="width: 16px;">
                                    </td>
                                    <td>
                                        Datum einde
                                    </td>
                                    <td>
                                        <asp:Literal ID="ltl_2ndZZPEndDate" runat="server"></asp:Literal>
                                    </td>
                                </tr>
                            </table>
                        </fieldset>
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>
            <cc2:UpdatePanelAnimationExtender ID="upae_Step3" runat="server" TargetControlID="updp_Step3">
                <Animations>
                    <OnUpdated>
                        <FadeIn Duration="1.0" Fps="24" />
                    </OnUpdated>
                </Animations>
            </cc2:UpdatePanelAnimationExtender>
            <div id="indication_div_buttons" style="padding: 30px">
                <table>
                    <tr>
                        <td style="width: 60%">
                            <asp:Button ID="indication_btn_Cancel" runat="server" Text="Annuleren" CausesValidation="false"
                                OnClick="indication_btn_Cancel_Click" />
                        </td>
                        <td style="width: 20%">
                            <asp:Button ID="indication_btn_Previous" runat="server" Text="<< Vorige" CausesValidation="false"
                                OnClick="indication_btn_Previous_Click" />
                        </td>
                        <td style="width: 20%">
                            <asp:Button ID="indication_btn_Next" runat="server" Text="Volgende >>" OnClick="indication_btn_Next_Click"
                                ValidationGroup="mainIB" />
                        </td>
                    </tr>
                </table>
            </div>
        </asp:Panel>
        <!-- End -->
        <!-- Step 4 (Functions [ZTWFunctie] basic informations) -->
        <asp:Panel ID="Panel_Step4" runat="server" Visible="false">
            <div id="functions_div_details" style="padding: 10px">
                <asp:UpdatePanel ID="updp_Step4" runat="server">
                    <ContentTemplate>
                        <asp:UpdateProgress ID="upl_Step4" runat="server" DisplayAfter="500">
                            <ProgressTemplate>
                                <div class="modalProgressBackground">
                                </div>
                                <div style="position: absolute; left: 0px; top: 0px; width: 100%; height: 100%; text-align: center;
                                    z-index: 1000; background-color: Transparent">
                                    <div style="width: 300px; margin: 100px auto; border: 1px solid Black; padding: 15px;
                                        background-color: White; text-align: center">
                                        <p>
                                            Bezig met laden ...</p>
                                        <br />
                                        <img alt="" src="../../../img/ajax-loader.gif" />
                                    </div>
                                </div>
                            </ProgressTemplate>
                        </asp:UpdateProgress>
                        <fieldset id="functions_fieldset_description" style="width: 60%">
                            <legend><font class="linkStandaardGroen"><strong>Stap 4 van 4</strong></font></legend>
                            <div>
                                <div id="firstZZP_head" style="cursor: pointer; border: solid 1px black;" 
                                    onclick="discontrol('firstFunctionPanel')" runat="server" visible="false">
                                    <strong>1st ZZP</strong>
                                </div>
                                <asp:Panel ID="firstFunctionPanel" runat="server">
                                </asp:Panel>
                            </div>
                            <div style="height:20px;"></div>
                            <div id="div_secondZZP" runat="server" visible="false">
                                <div id="secondZZP_head" style="cursor: pointer; border: solid 1px black;" 
                                    onclick="discontrol('secondFunctionPanel')">
                                    <strong>2nd ZZP</strong>
                                </div>
                                <asp:Panel ID="secondFunctionPanel" runat="server">
                                </asp:Panel>
                            </div>
                            <asp:HiddenField ID="HF_RowIndex" runat="server" />
                        </fieldset>
                        <fieldset id="fs_FunctionsList" style="width: 60%">
                            <legend><font class="linkStandaardGroen"><strong>Toegevoegde functies</strong></font></legend>
                            <div id="gv_fields">
                                <table class="headbackgroundBJZ" style="text-align: center;" cellpadding="0px" cellspacing="0px">
                                    <tr>
                                        <td rowspan="2" style="width: 3px;">
                                            &nbsp;
                                        </td>
                                        <td rowspan="2" class="funccodetd">
                                            Functie
                                        </td>
                                        <td rowspan="2" class="funcactitd">
                                            Activiteit
                                        </td>
                                        <td rowspan="2" class="funcclasstd">
                                            Klasse
                                        </td>
                                        <td rowspan="2" class="funcstartdatetd">
                                            Ingangsdatum
                                        </td>
                                        <td rowspan="2" class="funcenddatetd">
                                            Einddatum
                                        </td>
                                        <td colspan="2">
                                            Additioneel
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="functimetd">
                                            Aantal
                                        </td>
                                        <td class="functimeunittd">
                                            Tijdseenheid
                                        </td>
                                    </tr>
                                </table>
                                <asp:GridView ID="gv_Functions" runat="server" ShowFooter="true" AutoGenerateColumns="false"
                                    CssClass="funcGrid" AllowSorting="true" GridLines="None" CellPadding="0" CellSpacing="0"
                                    OnRowDataBound="gv_Functions_RowDataBound" OnRowDeleting="gv_Functions_RowDeleting"
                                    OnSelectedIndexChanged="gv_Functions_SelectedIndexChanged" DataKeyNames="ZTWFunctieID">
                                    <EmptyDataTemplate>
                                        <div>
                                            Er zijn nog geen functies toegevoegd.</div>
                                    </EmptyDataTemplate>
                                    <HeaderStyle CssClass="hidden" />
                                    <FooterStyle CssClass="hidden" />
                                    <Columns>
                                        <asp:CommandField ShowDeleteButton="True" CausesValidation="false" ButtonType="Image"
                                            ItemStyle-CssClass="funcGridDelete" DeleteImageUrl="../../../img/close.gif" ShowCancelButton="False"
                                            ControlStyle-CssClass="funcGridDelete" />
                                        <asp:CommandField ShowSelectButton="true" SelectText="" CausesValidation="false"
                                            ItemStyle-CssClass="funcGridSelect" ControlStyle-CssClass="funcGridSelect" />
                                        <asp:TemplateField HeaderText="Functie">
                                            <ItemStyle CssClass="funcGridCode" />
                                            <ItemTemplate>
                                                <asp:Label ID="lbl_function" runat="server" Text='<%# Bind("ViewFunctionCode") %>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Activiteit">
                                            <ItemStyle CssClass="funcactitd" />
                                            <ItemTemplate>
                                                <asp:Label ID="lbl_active" runat="server" Text='<%# Bind("ViewActivieCode") %>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Klasse">
                                            <ItemStyle CssClass="funcclasstd" />
                                            <ItemTemplate>
                                                <asp:Label ID="lbl_class" runat="server" Text='<%# Bind("ViewKlassCode") %>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Ingangsdatum">
                                            <ItemStyle HorizontalAlign="Center" CssClass="funcstartdatetd" />
                                            <ItemTemplate>
                                                <asp:Label ID="lbl_startDate" runat="server" Text='<%# Bind("ViewStartDate") %>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Einddatum">
                                            <ItemStyle HorizontalAlign="Center" CssClass="funcenddatetd" />
                                            <ItemTemplate>
                                                <asp:Label ID="lbl_endDate" runat="server" Text='<%# Bind("ViewEndDate") %>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField>
                                            <ItemStyle HorizontalAlign="Center" CssClass="functimetd" />
                                            <ItemTemplate>
                                                <asp:Label ID="lbl_number" runat="server" Text='<%# Bind("AantalOmgvangOpslagKlasse") %>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField>
                                            <ItemStyle CssClass="functimeunittd" />
                                            <ItemTemplate>
                                                <asp:Label ID="lbl_timeUnit" runat="server" Text='<%# Bind("TijdseenheidZorgperiode") %>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="ViewLeveringsvorm" />
                                        <asp:BoundField DataField="ViewFunctionCodeValue" ItemStyle-CssClass="hidden" />
                                        <asp:BoundField DataField="ViewActivieCodeValue" ItemStyle-CssClass="hidden" />
                                        <asp:BoundField DataField="ViewKlassCodeValue" ItemStyle-CssClass="hidden" />
                                        <asp:BoundField DataField="GewensteStartdatum" ItemStyle-CssClass="hidden" />
                                        <asp:BoundField DataField="GewensteEinddatum" ItemStyle-CssClass="hidden" />
                                    </Columns>
                                </asp:GridView>
                            </div>
                        </fieldset>
                    </ContentTemplate>
                </asp:UpdatePanel>
                <cc2:UpdatePanelAnimationExtender ID="upae_Step4" runat="server" TargetControlID="updp_Step4">
                    <Animations>
                        <OnUpdated>
                            <FadeIn Duration="1.0" Fps="24" />
                        </OnUpdated>
                    </Animations>
                </cc2:UpdatePanelAnimationExtender>
            </div>
            <div id="functions_div_buttons" style="padding: 30px">
                <table>
                    <tr>
                        <td style="width: 60%">
                            <asp:Button ID="functions_btn_Cancel" runat="server" Text="Annuleren" CausesValidation="false"
                                OnClick="functions_btn_Cancel_Click" />
                        </td>
                        <td style="width: 20%">
                            <asp:Button ID="functions_btn_Previous" runat="server" Text="<< Vorige" CausesValidation="false"
                                OnClick="functions_btn_Previous_Click" />
                        </td>
                        <td style="width: 20%">
                            <cc1:submitButton ID="btn_Save" runat="server" Text="Bevestig invoer" OnClick="btn_Save_Click" />
                        </td>
                    </tr>
                </table>
            </div>
        </asp:Panel>
        <!-- End -->
    </div>

    <script src="../../../../../wz_tooltip.js" type="text/javascript"></script>

    </form>
</body>
</html>
